/*
   Copyright 2009 Abdulla Abdurakhmanov (abdulla@latestbit.com)
   Original sources are available at www.latestbit.com

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

#ifndef CPPUTILSDEFINITIONS_HPP
#define CPPUTILSDEFINITIONS_HPP

// C++ Standard Libraries (STL, ANSI C)
#include <stdio.h>
#include <exception>
#include <iostream>
#include <typeinfo>
#include <string>
#include <list>
#include <map>
#include <algorithm>
#include <set>

// Boost library
#include <boost/tokenizer.hpp>
#include <boost/smart_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/foreach.hpp>
#include <boost/format.hpp>
#include <boost/thread.hpp>
#include <boost/thread/condition.hpp>
#include <boost/thread/xtime.hpp>
#include <boost/detail/endian.hpp>

#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/bind.hpp>
#include <boost/function.hpp>
#include <boost/unordered_map.hpp>
#include <boost/unordered_set.hpp>
#include <boost/bimap.hpp>
#include <boost/bimap/unordered_set_of.hpp>
#include <boost/bimap/multiset_of.hpp>
#include <boost/bimap/unordered_multiset_of.hpp>
#include <boost/rational.hpp>

// GMP library for BigDecimal/BigInteger
#include <gmp.h>

#ifndef CPPU_DLLPRFX
	#ifdef WIN32
		#ifdef CPPUTILS_EXPORTS
			#define CPPU_DLLPRFX __declspec(dllexport)
		#else
			#define CPPU_DLLPRFX __declspec(dllimport)
		#endif
	#else
		#define CPPU_DLLPRFX
	#endif
#endif

// Redefinition BOOST_FOREACH macro to good look-like analog
// See to http://www.boost.org/doc/html/foreach.html (Making BOOST_FOREACH Prettier)
#define foreach         BOOST_FOREACH
#define reverse_foreach BOOST_REVERSE_FOREACH



#endif // CPPUTILSDEFINITIONS_HPP
